how to create inline array from spread of another array